//
//  LCFriendTableViewCell.m
//  lechuang
//
//  Created by Mr_hi on 2023/4/11.
//  Copyright © 2023 Mooyi. All rights reserved.
//

#import "LCFriendTableViewCell.h"
#import "LCFirendModel.h"

@interface LCFriendTableViewCell ()

@property (weak, nonatomic) IBOutlet UIImageView *thumbView;

@property (weak, nonatomic) IBOutlet UILabel *nickNameLb;

@property (weak, nonatomic) IBOutlet UILabel *userIdLb;

@property (weak, nonatomic) IBOutlet UILabel *rewardLb;

@end


@implementation LCFriendTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
}

-(void)setFirend:(LCFirendModel *)firend {
    _firend = firend;
    [self.thumbView sd_setImageWithURL:[LCFunction XWX_URLImg:firend.userthumb] placeholderImage:kGetImage(@"lc_mine_user_head")];
    self.nickNameLb.text = firend.nickname;
    self.userIdLb.text = kFORMAT(@"用户ID:%@",firend.userid);
    
    self.rewardLb.hidden = YES;
}


- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
}

@end
